package cn.iocoder.yudao.module.api.cms;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;
import cn.iocoder.yudao.framework.common.exception.enums.ServiceErrorCodeRange;

/**
 * 错误码类型
 */
public interface ErrorCodeConstants extends ServiceErrorCodeRange {
    ErrorCode ARTICLE_NOT_EXISTS = new ErrorCode(1_014_000_100, "文章不存在");

    ErrorCode FEEDBACK_INFO_NOT_EXISTS = new ErrorCode(1_014_100_000, "意见反馈不存在");

    ErrorCode AGREEMENT_NOT_EXISTS = new ErrorCode(1_014_300_000, "协议规则不存在");
    ErrorCode AGREEMENT_DUPLICATE = new ErrorCode(1_014_300_001, "协议规则已存在");

    ErrorCode KEYWORD_NOT_EXISTS = new ErrorCode(1_014_400_000, "搜索关键词不存在");
    ErrorCode KEYWORD_DUPLICATE = new ErrorCode(1_014_400_001, "搜索关键词已存在");

    ErrorCode QLINK_NOT_EXISTS = new ErrorCode(1_014_500_000, "快捷链接不存在");

    ErrorCode APP_VERSION_NOT_EXISTS = new ErrorCode(1_014_600_000, "版本更新不存在");

    ErrorCode BENEFIT_NOT_EXISTS = new ErrorCode(1_014_900_000, "权益保障不存在");
    ErrorCode BENEFIT_DUPLICATE = new ErrorCode(1_014_900_001, "权益保障已存在");

}
